﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CaltechSoft.Service.Infrastructure
{
    public interface ICacheStrategy
    {
        object Get(string key);
        void Insert(string key, object obj, int seconds);
        void Max(string key, object obj);
        T Get<T>(string cacheKey, int seconds, Func<T> func);
        void Remove(string key);
        void Clear();
    }
}
